Linux ln command details and usage, Linux ln command details
Linux ln command details and usage
Ln is a very important command in linux. Its function is to create a different link for a file in another location. The most common parameter of this
This is a very important command in linux. please be familiar with it. The function is to create a non-same link for a file in another location. The most common parameter of this command is-s. The specific usage is the target file of the ln-s source
LN is another very important command in Linux, its function is to create a link for a file in another location, the most common parameter of this command is-s, which is the Ln–s source file destination file.When we need to use the same file in a
Detailed explanation of ln commands in linux commands (creating soft links and hard links) and ln commands
Ln is another important command in linux. Its function is to create a synchronous link for a file in another location, which can be soft link
For Example:
1. Create a connection to a file
[Root@a ~]# ln-s/home/kk/ss.sh ~ #如果不写目标地址, that is, in the current directory built link
[Root@a ~]# ls
Centos-base.repo.oldboy anaconda-ks.cfg install.log install.log.syslog ss.sh This command indicates
Ln command
Purpose: link a file.
Syntax
1> link a file to a file
Ln [-f |-N] [-S] sourcefile [targetfile]
2> link one or more files to a directory
Ln [-f |-N] [-S] sourcefile... targetdirectory
Description
The ln command links the file specified in
LN is a very important command in Linux, Its function is to create a synchronized link for a file in another location. When we need to use the same file in different directories, we don't need to put a file in every required directory, we just put
It programmer development must-all kinds of resources download list, the most complete IT resources in history, personal collection summary.
One, ln command parameters
LN is another very important command in Linux, its function is to create a link
This original article belongs to "Linux greenhouse" blog, the blog address is http://roclinux.cn. The author of the article is rocrocket.In order to prevent the vicious reproduction of some websites, special in each article before adding this
There are two ' link ' concepts in the UNIX world, commonly referred to as hard and soft connections. A hard connection is just a filename. (a file can have several file names and only delete the last file name from the disk before deleting the file.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.